<?php

namespace App\Models;

use Illuminate\Auth\Authenticatable;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Foundation\Auth\Access\Authorizable;

/**
 * App\Models\Admin
 *
 * @property int $uid
 * @property int $owner_uid
 * @property int $groupid
 * @property int $company_id
 * @property int $founder_groupid
 * @property string $username
 * @property string $password
 * @property string $remember_token
 * @property int $type
 * @property string $group 属于哪个行业
 * @property int $status
 * @property int $joindate
 * @property string $joinip
 * @property int $lastvisit
 * @property string $lastip
 * @property string $remark
 * @property int $starttime
 * @property int $endtime
 * @property int $register_type
 * @property string $openid
 * @property int $welcome_link
 * @property int $is_bind
 * @property string $notice_setting
 * @property int|null $created_at
 * @property int|null $updated_at
 * @property int|null $deleted_at
 * @method static \Illuminate\Database\Eloquent\Builder|Admin newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Admin newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|Admin query()
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereCompanyId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereDeletedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereEndtime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereFounderGroupid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereGroup($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereGroupid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereIsBind($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereJoindate($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereJoinip($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereLastip($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereLastvisit($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereNoticeSetting($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereOpenid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereOwnerUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin wherePassword($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereRegisterType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereRemark($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereRememberToken($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereStarttime($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereUid($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereUsername($value)
 * @method static \Illuminate\Database\Eloquent\Builder|Admin whereWelcomeLink($value)
 * @mixin \Eloquent
 */
class Admin extends BaseModel implements
    AuthenticatableContract,
    AuthorizableContract
{
    use Authenticatable, Authorizable;
    public $guarded = [];
    public $timestamps = false;
    protected $primaryKey = 'uid';
}